#ifndef CAMERA_H
#define CAMERA_H

#include <SFML/Graphics.hpp>
#include "globals.h"

class Level;
class Character;

using namespace std;
using namespace sf;

class Camera : public Rect<int> {
    friend class Level;
    
public:
    Camera(Level* level);
    void move(int x, int y);

private:
    int     levelWidth;
    int     levelHeight;
    Sprite* background;
    Sprite* foreground;
    vector<Character*>* characters;
    vector<Sprite*>*    collidables;
};

#endif
